﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using IISLogAnalyzer;
namespace IISLogAnalyzerTest
{
    [TestFixture]
    public class Class1
    {
        [Test]
        public void GetIISInfoTest()
        {
            List<IISInfo> tempList = GetIISInfo.GetInfo("D:\\Projects\\TestData\\W3SVC1\\ex040909.log");
            Assert.AreEqual(tempList.Count, 144);
            Assert.AreEqual(tempList[0].day, DateTime.Now);
        }
    
        
    }
}
